]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Remove icon from folder when dragging out
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 24 Sep 2020 19:06:01 +0000 (16:06 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 5 Oct 2020 12:06:48 +0000 (12:06 +0000)
commitaaff88a6bb06ebc6acf9b4ceaa456d679c71fdaa
tree4e398466257d7560afbea3d1fb97d6c723f9a349
parent1acbdcc9b3b01298dc52040103e6f640953c1b8f
appDisplay: Remove icon from folder when dragging out

When dragging an icon outside of a folder dialog, there's a small delay
before the dialog pops down. If the icon is dropped during this delay,
the drag is cancelled, and the icon continues to be in the folder.

However, this behavior turned out to be problematic, and it was a common
point of failure that throwing icons outside folders wouldn't work.

Remove the icon from the folder when dragging it to outside the dialog.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3092

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1447
js/ui/appDisplay.js